package com.level.system.controller;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.level.base.BaseController;
import com.level.system.base.ResponseBean;
import com.level.system.entity.DocMrConfig;
import com.level.system.service.IDocMrConfigService;

import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

import javax.annotation.Resource;

/**
 * <p>
 * 病历目录配置 前端控制器
 * </p>
 *
 * @author jobob
 * @since 2019-05-31
 */
@RestController
@RequestMapping("/doc-mr-config")
public class DocMrConfigController extends BaseController {
	
	@Resource
	private IDocMrConfigService iDocMrConfigService;
	
	
	@RequestMapping(value="/getDocMrConfigList",method= RequestMethod.POST)
	@ApiOperation(value="根据ID查找 QcRule 表用户", notes="备注: 仅200有正确返回")
	public ResponseBean<List<DocMrConfig>> getDocMrConfigList(){
		return ResponseBean.success(iDocMrConfigService.getDocMrConfigList());
	}

}

